package org.shiki.hrm.fein;

import org.shiki.hrm.domain.LoginUser;
import org.shiki.hrm.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "hrm-auth", fallbackFactory = LoginUserFallbackFactory.class)
public interface LoginUserFeignClient {
	@PostMapping("/loginUser/entrying")
	AjaxResult entrying(@RequestBody LoginUser loginUser);
}
